package com.stone.framework.task.service;

import java.util.List;

import com.stone.framework.message.task.JobLanuchReqBody;
import com.stone.framework.message.task.JobRegisterResBody;
import com.stone.framework.message.task.JobStopReqBody;

public interface JobService {

    List<JobRegisterResBody> getNames();

    void start(JobLanuchReqBody reqBody);

    void stop(JobStopReqBody reqBody);

    void restart(JobStopReqBody reqBody);

}
